/*
 * @Description: 
 * @Author: liyuhao
 * @Date: 2021-08-05 16:24:07
 * @LastEditors: Please set LastEditors
 * @LastEditTime: 2023-11-15 10:43:38
 */
import {
  GateStatusEnum,
  industrialTouristLevelEnum,
  ScenicLevelEnum,
  ScenicTypeEnum,
  SelectedAsChildEnum,
  TouristInOutEnum
} from './enum'
import CreateEnumMap from '@/utils/CreateEnumMap'
import {HotelLevelEnum} from "@/enums/hotel/enum";

export const ScenicLevelMap = CreateEnumMap([
  {
    id: ScenicLevelEnum['5A'],
    name: '5A'
  },
  {
    id: ScenicLevelEnum['4A'],
    name: '4A'
  },
  {
    id: ScenicLevelEnum['3A'],
    name: '3A'
  },
  {
    id: ScenicLevelEnum['2A'],
    name: '2A'
  },
  {
    id: ScenicLevelEnum['1A'],
    name: '1A'
  },
  {
    id: ScenicLevelEnum.NotRated,
    name: '其他'
  }
])

export const HotelLevelMap = CreateEnumMap([
  {
    id: HotelLevelEnum.Five,
    name: '5星级'
  },
  {
    id: HotelLevelEnum.Four,
    name: '4星级'
  },
  {
    id: HotelLevelEnum.Three,
    name: '3星级'
  },
  {
    id: HotelLevelEnum.Two,
    name: '2星级'
  },
  {
    id: HotelLevelEnum.One,
    name: '1星级'
  },
  {
    id: HotelLevelEnum.NotRated,
    name: '其他'
  }
])
export const ScenicTypeMap = CreateEnumMap([
  {
    id: ScenicTypeEnum.Parent,
    name: '父景区'
  },
  {
    id: ScenicTypeEnum.Child,
    name: '子景区'
  }
])
export const intangibleHeritageTypeMap = CreateEnumMap([
  {
    id: ScenicTypeEnum.Parent,
    name: '父非遗保护中心'
  },
  {
    id: ScenicTypeEnum.Child,
    name: '子非遗保护中心'
  }
])

export const TouristInOutMap = CreateEnumMap([
  {
    id: TouristInOutEnum.None,
    name: '无'
  },
  {
    id: TouristInOutEnum.Wifi,
    name: 'WIFI探针'
  },
  {
    id: TouristInOutEnum.Camera,
    name: '摄像头'
  },
  {
    id: TouristInOutEnum.Ticket,
    name: '票务系统'
  },
  {
    id: TouristInOutEnum.Gate,
    name: '闸机'
  }
])

export const GateStatusMap = CreateEnumMap([
  {
    id: GateStatusEnum.None,
    name: '无'
  },
  {
    id: GateStatusEnum.Normal,
    name: '正常'
  },
  {
    id: GateStatusEnum.Close,
    name: '闭园'
  },
  {
    id: GateStatusEnum.Deactivated,
    name: '闸机维护停用中'
  }
])

export const SelectedAsChildMap = CreateEnumMap([
  {
    id: SelectedAsChildEnum.All,
    name: '全部'
  },
  {
    id: SelectedAsChildEnum.Selected,
    name: '已选'
  },
  {
    id: SelectedAsChildEnum.NotSelected,
    name: '未选'
  },
])

//工业旅游区类型
export const industrialTouristTypeMap = CreateEnumMap([
  {
    id: ScenicTypeEnum.Parent,
    name: '父工业旅游区'
  },
  {
    id: ScenicTypeEnum.Child,
    name: '子工业旅游区'
  }
])

export const industrialTouristLevelMap = CreateEnumMap([
  {
    id: industrialTouristLevelEnum['5A'],
    name: '5A'
  },
  {
    id: industrialTouristLevelEnum['4A'],
    name: '4A'
  },
  {
    id: industrialTouristLevelEnum['3A'],
    name: '3A'
  },
  {
    id: industrialTouristLevelEnum['2A'],
    name: '2A'
  },
  {
    id: industrialTouristLevelEnum['1A'],
    name: '1A'
  },
  {
    id: industrialTouristLevelEnum['江苏省工业旅游区'],
    name: '江苏省工业旅游区'
  },
  {
    id: industrialTouristLevelEnum.NotRated,
    name: '其他'
  }
])